implement delete file

Added a new menu item "Delete" to the pull down. This can be moved to the context menu when that is available.

@devoncarew @dinhviethoa