Receive File

Added and organized methods to receive files from server.