Implemented correlations within files