Make console arguments global. Add process_each_file recursive method for OSMan. Refactor Average function.