add local_files_dir as parameter

for us it was problematic to have the same app_relative_media_dir and local_files_dir.