Reverted fileAdapter and changed .json to .js