Add extra info to log
Handle edge case where opening an empty path results in a valid file handle
Add initial resource handler implementation