<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def get_file(self):
 """ Get file information :return: :obj:`aiogram.types.File` """

        if hasattr(self, 'file_path'):
            return self
        else:
            return await self.bot.get_file(self.file_id)