Testing file-reading structure