Fixed debug message checks.
Added file operations to filesystem object,
Added directory operations to filesystem object.