bring delete and share button back in showFile instead of setTimeout