all file config and function utility