Move duplicate methods into static method of utilities classes
(FileUtilities and AcitivityUtilities)