file load works. if the file is larger than the canvas it fills the canvas with the image and enlarges the canvas to a necessary extent. If the file is smaller than the canvas, it pastes the image as a selection item