New file with functions for Piton data