Separated input verifications into a dedicated file