store selected file for context menu actions