Added file authentication as well as a directory for receiving files.