Modified the files cmd class

Modified to use static members