Add type for file