adding ability to upload files to directory