add filesystem functions