Split picture reading codes into a separate file