adding some fileUtils methods here