Add remote_file source support for terminal management