To submit an assignment file in Moodle, navigate to the bottom of the assignment page and select "Add Submission". Choose "Upload a File" and browse your computer to find the file. Once uploaded, select "Save Changes" to complete the submission. Be sure to delete any old files if making changes, so teachers know which version to grade.