Remaining hard-coded file names converted to function calls.