Add remote file handling