Split files by frontend and backend