Removes unused params from __get_image_file_paths()