Added a return on initializeFile for unit testing.