removing redundant file resource