Update file.php

Made it so the table name isn't hard-coded in queries.