Handles filesystem operations