adding compatibility with windows
removing realpath, dropbox dont need the app path file, only need the location for save the file