An abstract class for reading files.
Reads the file at the specified filePath and returns the content as a Result object.