add option for newly written files: upload automatically or just scan