In which file I should place this function?