Format Resource File