testReadFileWithCustomDisplayName