Add a command-line option to open image as file-layer
BUG:416240 (cherry picked from commit 943433c17711bdab7bc09785e4d933fa341b9a96)