move around files, use callback in api