review file input
cleaning up