storage.get_image_filename(params, data_dir.get_data_dir()) will gives you the image_name. whey you join it again here?