Refactored Pointer and FileInfo class