reset file after attach to imageview