Revert "Issue #2104229 by claudiu.cristea: Deprecate file_usage()."

Temporary rollback since it conflicts with a critical issue.

This reverts commit ce08ea737c756a1922e7aadcfd85308c9d9e8e80.
Issue #2131851 by tim.plunkett: Form errors must be specific to a form and not a global.