saving progress
added getFile method