Detect interface rather than base file on file creation.