In legal terms, filing refers to submitting a document or petition to a court or other legal authority. Filings initiate legal proceedings, such as a lawsuit or a motion, while providing the court with an official record of events.