File: Tweak error logging
File: Check if path is a directory first
File: Error check memory allocation
File: Add Write/Read methods
File: Add Offset member var
File: Change type of Mode var