EDIT: Instead of using SSH remote login for file sharing, you can use
VirtualBox folder sharing, which may better suit your need.
Debian linux can be run on Mac via VirtualBox. To prove this myself, on my Mac, I had downloaded and installed VirtualBox for OSX. Then I download Debian Linux 1st CD from debian website. Verify MD5 hash of the CD. Create a new virtual machine on VirtualBox by following the wizard. Attach the CD ISO file to the virtual machine that was created. Then start installing debian linux. I choose graphical install when installing debian. The installation process is a wizard that walk you through each step with point and click.
After finish with the installation, I then install synaptic package manager. Use synaptic to install software from debian package mirror. Install linux guest additions. And then set up SSH remote login on my Mac. This allow me to work on linux system and save file to Mac file system. I can do this because Mac and Linux virtual machine are on the same wifi network at my home.
From this point, you will notice that I can install free software on Linux that is not available on Mac then work on Linux but save file to the Mac.