adds file to folder redirect case