Added some file input stuff