moveFile is not defined (JSHint error).