relative path + small sleep to let enough time for the file to be saved