Try this:
ReadFile file = new ReadFile(file_name);
In order to initialize an object with it's class name you should use the new
key word like this:
ClassName objName = new ClassName(arguments);
From the rest of your code seems you know the notion, nevertheless I refer you (or possible future visitors) to this page.