allow file input arguments
add libs with getopt