fix issue with JSON detection, test of file renaming capability, make box replace files if they already exist and uploading