fix problem when changing from mac/unix to window (closes #126)
error checking when file on tablet does not exists