Changed gsp and encode filename