added file support with ARGV and compression calculations