adding support for opening file type as different activity