Cleaning logic

Breaking read file and build array in different methods