Replaced _submitURL with submitFile method