refact filemap & jsp task