added retrieve file
to do or not to do