removing basefile from photo