def _gen_full_path(self, filename, file_system=None):
if file_system is None:<EOL><INDENT>return '<STR_LIT>'.format(self.dest_file_system, filename)<EOL><DEDENT>else:<EOL><INDENT>if "<STR_LIT::>" not in file_system:<EOL><INDENT>raise ValueError("<STR_LIT>".format(file_system))<EOL><DEDENT>return '<STR_LIT>'.format(file_system, filename)<EOL><DEDENT>
Generate full file path on remote device.