In the XC16 I hanged file.h and file.c at the same directory than main.c I wrote at pin_manager.c (that is hanged from mcc_generated_files):
#include "../file.h" //to go up one level
void __attribut..