Why the distinction between files and non-files here? Shouldn’t we be adding actions for all types?