compile-time conditional authentication and file io operations