Added ArgParse and filename, processes arguments