Fix Remove action on topLevelFile.

Fixes #2347, #2384 
@ussuri 
Should the naming be `fileRemoveFIleName => fileName`. Basically omitting the dialog prefix.
In general  we should be accessing them via the dialog ?