removed getLargestFile and getSmallestFile due to abstraction violation