Why is a file resource being defined?