add handlers to individual files