Add simple file api