add resources
remove others formats support, only txt left.