Allows test class to accept text file as input