#12: cleaned upload logic.
#4: Made folder children paths absolute.