chaching all the files information
changed the responses to the correct way