added parsing of arguments and serving of files from disk