add loss files