Refactored Arrays classes and File