Remove use of strict keyword.
Add file enumeration.
Extract code to functions. Create function to print command output in tabular format.