Fix file resource type to pass specs