API for basic IO functionalities