resolved File methods
solves all questions