Implement file based picture splitting.