basic file monitoring and uploading works