Prevent file creation after auth