Added JSON as an option for files, edited the title to be dir name

Check for JSON to work