Added console-based file input